package cn.ycbjie.ycaudioplayer.mybean;

import java.util.List;

/**
 * Created by yuyu on 2018-11-28.
 */

public class myhomemaibean {

    /**
     * code : 200
     * data : [{"topic":{"id":"jnflsapdxa68","_nid":4,"title":"每周精选-电子书","subtitle":"","summary":"","project":"","type":2,"position":5,"target":null,"cover":null,"launched_at":"2018-11-22T16:00:00+00:00"},"resources":[{"id":"jneraa2zct7v","title":"笑场","subtitle":null,"authors":["李诞"],"publishers":["湖南文艺出版社"],"publication_date":"2018-05-11","summary":null,"type":4,"cover":"https://ebook.qikan.com/bookpicture/ds056114.jpg","price":1799,"is_free":false,"sub_num":0,"state":2,"_created_at":"2018-10-18T15:44:27.271+00:00","_updated_at":"2018-11-14T07:58:17.501+00:00"},{"id":"jner8wrj79ob","title":"人的脑洞略大于整个宇宙","subtitle":null,"authors":["[美]丹·刘易斯"],"publishers":["湖南文艺出版社"],"publication_date":"2018-05-10","summary":null,"type":4,"cover":"https://ebook.qikan.com/bookpicture/ds056141.jpg","price":1799,"is_free":false,"sub_num":0,"state":2,"_created_at":"2018-10-18T15:43:23.355+00:00","_updated_at":"2018-11-08T06:47:50.706+00:00"},{"id":"jner9tli6t8t","title":"斯坦福商业决策课","subtitle":null,"authors":["（美）卡尔·斯佩茨[美]卡尔·斯佩茨勒,汉娜·温特,珍妮弗·迈耶"],"publishers":["湖南文艺出版社"],"publication_date":"2018-05-11","summary":null,"type":4,"cover":"https://ebook.qikan.com/bookpicture/ds056182.jpg","price":1899,"is_free":false,"sub_num":0,"state":2,"_created_at":"2018-10-18T15:44:05.906+00:00","_updated_at":"2018-11-07T06:44:53.125+00:00"},{"id":"jnera7g9svdj","title":"世界简史","subtitle":null,"authors":["（英）威尔斯, 余贝"],"publishers":["新世界出版社"],"publication_date":"1900-01-01","summary":null,"type":4,"cover":"https://ebook.qikan.com/bookpicture/ds029052.jpg","price":1499,"is_free":false,"sub_num":0,"state":2,"_created_at":"2018-10-18T15:44:23.864+00:00","_updated_at":"2018-11-07T06:16:43.122+00:00"},{"id":"jner6z3aixjy","title":"志摩的诗","subtitle":null,"authors":["徐志摩"],"publishers":["江西教育出版社"],"publication_date":"2017-10-27","summary":null,"type":4,"cover":"https://ebook.qikan.com/bookpicture/ds055645.jpg","price":1399,"is_free":false,"sub_num":0,"state":2,"_created_at":"2018-10-18T15:41:53.058+00:00","_updated_at":"2018-11-06T08:14:21.263+00:00"},{"id":"jneraegqbl4h","title":"罗茜效应","subtitle":null,"authors":["【澳】格雷姆·辛浦生（Graeme Simsion）;郑玲译"],"publishers":["红旗出版社"],"publication_date":"2018-05-14","summary":null,"type":4,"cover":"https://ebook.qikan.com/bookpicture/ds056111.jpg","price":1799,"is_free":false,"sub_num":0,"state":2,"_created_at":"2018-10-18T15:44:32.951+00:00","_updated_at":"2018-11-06T08:13:04.588+00:00"}]},{"topic":{"id":"jnfls0gpp11a","_nid":3,"title":"大家都在听","subtitle":"","summary":"","project":"","type":2,"position":4,"target":null,"cover":null,"launched_at":"2018-10-18T16:00:00+00:00"},"resources":[{"id":"jnes07p8lcxg","title":"马东的职场B计划","subtitle":null,"authors":null,"publishers":null,"publication_date":null,"summary":"每周一至周四更新","type":1,"cover":"http://fdfs.xmcdn.com/group50/M04/06/54/wKgKmVv39nDQDztpAAWv-gSY6gY698_mobile_large.jpg","price":19800,"is_free":false,"sub_num":108,"state":1,"_created_at":"2018-10-18T16:04:37.242+00:00","_updated_at":"2018-11-27T21:18:34.371+00:00"},{"id":"jnes3luxljxi","title":"斯坦福超人气经济学课","subtitle":null,"authors":null,"publishers":null,"publication_date":null,"summary":"每周一、三、五更新","type":1,"cover":"http://fdfs.xmcdn.com/group49/M05/DB/AA/wKgKmFvqmi6x-mffAAFBj3ji-x0993_mobile_large.jpg","price":19900,"is_free":false,"sub_num":108,"state":1,"_created_at":"2018-10-18T16:07:15.558+00:00","_updated_at":"2018-11-27T21:18:35.061+00:00"},{"id":"jnes6o27d7pe","title":"李银河说爱情","subtitle":null,"authors":null,"publishers":null,"publication_date":null,"summary":"每周一、三、五更新","type":1,"cover":"http://fdfs.xmcdn.com/group48/M03/1D/9B/wKgKlVumS6ryNDdyAAejjZMORfo268_mobile_large.jpg","price":9900,"is_free":false,"sub_num":31,"state":1,"_created_at":"2018-10-18T16:09:38.38+00:00","_updated_at":"2018-11-26T21:12:06.026+00:00"},{"id":"jnes653opsat","title":"复旦陈正宏《史记》精讲","subtitle":null,"authors":null,"publishers":null,"publication_date":null,"summary":null,"type":1,"cover":"http://fdfs.xmcdn.com/group47/M00/CF/89/wKgKk1uV5y_TPZlsAAKoLvhK98Q006_mobile_large.jpg","price":19900,"is_free":false,"sub_num":17,"state":1,"_created_at":"2018-10-18T16:09:13.809+00:00","_updated_at":"2018-11-27T21:18:35.905+00:00"}]},{"topic":{"id":"jnflwsnc1voj","_nid":5,"title":"精选专题","subtitle":"","summary":"","project":"","type":1,"position":3,"target":null,"cover":"http://cdn1.hkrstore.com/topics/10192018/jnflwnjfxnfc.jpg","launched_at":"2018-10-18T16:00:00+00:00"},"resources":[{"id":"jnerwtb6imug","title":"蔡书腾精讲《原则》","subtitle":null,"authors":null,"publishers":null,"publication_date":null,"summary":"一次性更新完毕","type":1,"cover":"http://fdfs.xmcdn.com/group40/M00/14/12/wKgJT1qg6uDCykwiAAEBn65hBc0139_mobile_large.jpg","price":990,"is_free":false,"sub_num":7,"state":2,"_created_at":"2018-10-18T16:01:58.626+00:00","_updated_at":"2018-11-01T16:30:30.771+00:00"},{"id":"jnerx3ddl0lo","title":"首席经济学家管清友的投资课","subtitle":null,"authors":null,"publishers":null,"publication_date":null,"summary":"每周一至周五更新","type":1,"cover":"http://fdfs.xmcdn.com/group42/M00/8B/79/wKgJ9FqzVBmTbygHAAImASNkgts422_mobile_large.jpg","price":39900,"is_free":false,"sub_num":102,"state":2,"_created_at":"2018-10-18T16:02:11.662+00:00","_updated_at":"2018-11-24T21:09:28.778+00:00"},{"id":"jnerx3dfwdm5","title":"中国通史大师课","subtitle":null,"authors":null,"publishers":null,"publication_date":null,"summary":"每周一、三、五","type":1,"cover":"http://fdfs.xmcdn.com/group54/M0A/1D/A3/wKgLfVv8yB_gZr7AAAL3XC5JAkg821_mobile_large.jpg","price":19900,"is_free":false,"sub_num":196,"state":1,"_created_at":"2018-10-18T16:02:11.662+00:00","_updated_at":"2018-11-27T21:18:33.818+00:00"},{"id":"jnerzjbep9vd","title":"钱文忠讲佛","subtitle":null,"authors":null,"publishers":null,"publication_date":null,"summary":"每周二、四、六更新","type":1,"cover":"http://fdfs.xmcdn.com/group47/M08/C3/CC/wKgKm1tpW7uSWL1_AAKactMGo5Y126_mobile_large.jpg","price":9900,"is_free":false,"sub_num":61,"state":2,"_created_at":"2018-10-18T16:04:05.639+00:00","_updated_at":"2018-11-01T16:30:39.756+00:00"},{"id":"jnerzzh1zxgk","title":"高效人生规划手册","subtitle":null,"authors":null,"publishers":null,"publication_date":null,"summary":"每周二、周五更新，不定期问答分享","type":1,"cover":"http://fdfs.xmcdn.com/group26/M00/5D/AE/wKgJRlj_B9-z8wCYAAR_OmaIyy0911_mobile_large.jpg","price":8800,"is_free":false,"sub_num":54,"state":2,"_created_at":"2018-10-18T16:04:26.577+00:00","_updated_at":"2018-11-01T16:30:41.517+00:00"},{"id":"jnes5hv7bndr","title":"林志玲姐姐给小朋友的修养课","subtitle":null,"authors":null,"publishers":null,"publication_date":null,"summary":"一周两更","type":1,"cover":"http://fdfs.xmcdn.com/group48/M09/38/B8/wKgKnFuNQrTi7S_YAAJmZ_mnDec880_mobile_large.jpg","price":9900,"is_free":false,"sub_num":52,"state":1,"_created_at":"2018-10-18T16:08:43.697+00:00","_updated_at":"2018-11-26T21:12:05.498+00:00"}]},{"topic":{"id":"jnflrjk1i03r","_nid":2,"title":"陈志武-重磅上新","subtitle":"","summary":"","project":"","type":1,"position":2,"target":null,"cover":"http://cdn1.hkrstore.com/topics/10192018/jnflrin3klrf.jpg","launched_at":"2018-10-18T16:00:00+00:00"},"resources":[{"id":"jnerigp6cy2i","title":"耶鲁大学陈志武教授的金融课","subtitle":null,"authors":null,"publishers":null,"publication_date":null,"summary":"每周一三五更新","type":1,"cover":"http://fdfs.xmcdn.com/group47/M05/32/AF/wKgKk1t2m5-idzRrAAK-zgDExDE814_mobile_large.jpg","price":19900,"is_free":false,"sub_num":280,"state":2,"_created_at":"2018-10-18T15:50:49.095+00:00","_updated_at":"2018-11-07T15:04:44.946+00:00"}]},{"topic":{"id":"jnflqmnl36ew","_nid":1,"title":"蔡康永-banner1","subtitle":"","summary":"","project":"","type":1,"position":1,"target":null,"cover":"http://cdn1.hkrstore.com/topics/1122018/jnzm0dq1avdn.jpeg","launched_at":"2018-10-18T16:00:00+00:00"},"resources":[{"id":"jnerkyu2v5zu","title":"蔡康永的201堂情商课","subtitle":null,"authors":null,"publishers":null,"publication_date":null,"summary":"12月1日正式更新","type":1,"cover":"http://fdfs.xmcdn.com/group47/M05/A1/0F/wKgKm1t6mm2zPNYNAARdrdkgG-k880_mobile_large.jpg","price":19800,"is_free":false,"sub_num":209,"state":1,"_created_at":"2018-10-18T15:52:45.914+00:00","_updated_at":"2018-11-24T21:09:27.873+00:00"}]}]
     */

    private int code;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * topic : {"id":"jnflsapdxa68","_nid":4,"title":"每周精选-电子书","subtitle":"","summary":"","project":"","type":2,"position":5,"target":null,"cover":null,"launched_at":"2018-11-22T16:00:00+00:00"}
         * resources : [{"id":"jneraa2zct7v","title":"笑场","subtitle":null,"authors":["李诞"],"publishers":["湖南文艺出版社"],"publication_date":"2018-05-11","summary":null,"type":4,"cover":"https://ebook.qikan.com/bookpicture/ds056114.jpg","price":1799,"is_free":false,"sub_num":0,"state":2,"_created_at":"2018-10-18T15:44:27.271+00:00","_updated_at":"2018-11-14T07:58:17.501+00:00"},{"id":"jner8wrj79ob","title":"人的脑洞略大于整个宇宙","subtitle":null,"authors":["[美]丹·刘易斯"],"publishers":["湖南文艺出版社"],"publication_date":"2018-05-10","summary":null,"type":4,"cover":"https://ebook.qikan.com/bookpicture/ds056141.jpg","price":1799,"is_free":false,"sub_num":0,"state":2,"_created_at":"2018-10-18T15:43:23.355+00:00","_updated_at":"2018-11-08T06:47:50.706+00:00"},{"id":"jner9tli6t8t","title":"斯坦福商业决策课","subtitle":null,"authors":["（美）卡尔·斯佩茨[美]卡尔·斯佩茨勒,汉娜·温特,珍妮弗·迈耶"],"publishers":["湖南文艺出版社"],"publication_date":"2018-05-11","summary":null,"type":4,"cover":"https://ebook.qikan.com/bookpicture/ds056182.jpg","price":1899,"is_free":false,"sub_num":0,"state":2,"_created_at":"2018-10-18T15:44:05.906+00:00","_updated_at":"2018-11-07T06:44:53.125+00:00"},{"id":"jnera7g9svdj","title":"世界简史","subtitle":null,"authors":["（英）威尔斯, 余贝"],"publishers":["新世界出版社"],"publication_date":"1900-01-01","summary":null,"type":4,"cover":"https://ebook.qikan.com/bookpicture/ds029052.jpg","price":1499,"is_free":false,"sub_num":0,"state":2,"_created_at":"2018-10-18T15:44:23.864+00:00","_updated_at":"2018-11-07T06:16:43.122+00:00"},{"id":"jner6z3aixjy","title":"志摩的诗","subtitle":null,"authors":["徐志摩"],"publishers":["江西教育出版社"],"publication_date":"2017-10-27","summary":null,"type":4,"cover":"https://ebook.qikan.com/bookpicture/ds055645.jpg","price":1399,"is_free":false,"sub_num":0,"state":2,"_created_at":"2018-10-18T15:41:53.058+00:00","_updated_at":"2018-11-06T08:14:21.263+00:00"},{"id":"jneraegqbl4h","title":"罗茜效应","subtitle":null,"authors":["【澳】格雷姆·辛浦生（Graeme Simsion）;郑玲译"],"publishers":["红旗出版社"],"publication_date":"2018-05-14","summary":null,"type":4,"cover":"https://ebook.qikan.com/bookpicture/ds056111.jpg","price":1799,"is_free":false,"sub_num":0,"state":2,"_created_at":"2018-10-18T15:44:32.951+00:00","_updated_at":"2018-11-06T08:13:04.588+00:00"}]
         */

        private TopicBean topic;
        private List<ResourcesBean> resources;

        public TopicBean getTopic() {
            return topic;
        }

        public void setTopic(TopicBean topic) {
            this.topic = topic;
        }

        public List<ResourcesBean> getResources() {
            return resources;
        }

        public void setResources(List<ResourcesBean> resources) {
            this.resources = resources;
        }

        public static class TopicBean {
            /**
             * id : jnflsapdxa68
             * _nid : 4
             * title : 每周精选-电子书
             * subtitle :
             * summary :
             * project :
             * type : 2
             * position : 5
             * target : null
             * cover : null
             * launched_at : 2018-11-22T16:00:00+00:00
             */

            private String id;
            private int _nid;
            private String title;
            private String subtitle;
            private String summary;
            private String project;
            private int type;
            private int position;
            private Object target;
            private Object cover;
            private String launched_at;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public int get_nid() {
                return _nid;
            }

            public void set_nid(int _nid) {
                this._nid = _nid;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getSubtitle() {
                return subtitle;
            }

            public void setSubtitle(String subtitle) {
                this.subtitle = subtitle;
            }

            public String getSummary() {
                return summary;
            }

            public void setSummary(String summary) {
                this.summary = summary;
            }

            public String getProject() {
                return project;
            }

            public void setProject(String project) {
                this.project = project;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public int getPosition() {
                return position;
            }

            public void setPosition(int position) {
                this.position = position;
            }

            public Object getTarget() {
                return target;
            }

            public void setTarget(Object target) {
                this.target = target;
            }

            public Object getCover() {
                return cover;
            }

            public void setCover(Object cover) {
                this.cover = cover;
            }

            public String getLaunched_at() {
                return launched_at;
            }

            public void setLaunched_at(String launched_at) {
                this.launched_at = launched_at;
            }
        }

        public static class ResourcesBean {
            /**
             * id : jneraa2zct7v
             * title : 笑场
             * subtitle : null
             * authors : ["李诞"]
             * publishers : ["湖南文艺出版社"]
             * publication_date : 2018-05-11
             * summary : null
             * type : 4
             * cover : https://ebook.qikan.com/bookpicture/ds056114.jpg
             * price : 1799
             * is_free : false
             * sub_num : 0
             * state : 2
             * _created_at : 2018-10-18T15:44:27.271+00:00
             * _updated_at : 2018-11-14T07:58:17.501+00:00
             */

            private String id;
            private String title;
            private Object subtitle;
            private String publication_date;
            private Object summary;
            private int type;
            private String cover;
            private int price;
            private boolean is_free;
            private int sub_num;
            private int state;
            private String _created_at;
            private String _updated_at;
            private List<String> authors;
            private List<String> publishers;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public Object getSubtitle() {
                return subtitle;
            }

            public void setSubtitle(Object subtitle) {
                this.subtitle = subtitle;
            }

            public String getPublication_date() {
                return publication_date;
            }

            public void setPublication_date(String publication_date) {
                this.publication_date = publication_date;
            }

            public Object getSummary() {
                return summary;
            }

            public void setSummary(Object summary) {
                this.summary = summary;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getCover() {
                return cover;
            }

            public void setCover(String cover) {
                this.cover = cover;
            }

            public int getPrice() {
                return price;
            }

            public void setPrice(int price) {
                this.price = price;
            }

            public boolean isIs_free() {
                return is_free;
            }

            public void setIs_free(boolean is_free) {
                this.is_free = is_free;
            }

            public int getSub_num() {
                return sub_num;
            }

            public void setSub_num(int sub_num) {
                this.sub_num = sub_num;
            }

            public int getState() {
                return state;
            }

            public void setState(int state) {
                this.state = state;
            }

            public String get_created_at() {
                return _created_at;
            }

            public void set_created_at(String _created_at) {
                this._created_at = _created_at;
            }

            public String get_updated_at() {
                return _updated_at;
            }

            public void set_updated_at(String _updated_at) {
                this._updated_at = _updated_at;
            }

            public List<String> getAuthors() {
                return authors;
            }

            public void setAuthors(List<String> authors) {
                this.authors = authors;
            }

            public List<String> getPublishers() {
                return publishers;
            }

            public void setPublishers(List<String> publishers) {
                this.publishers = publishers;
            }
        }
    }
}
